home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-20 | 730 b | 24 lines | [TEXT/GEOL] |
- Item 6865256 18-Oct-89 08:37
-
- From: PASCOE1 Pascoe, Geoff
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: bByte not for Byte
-
- Sigmund,
-
- Yes, this appears to be a poor choice in naming. But, this is not MacApp's
- fault- MacApp is just trying to be consistent with Inside the Mac (see I-78).
- You see, the problem is that Pascal does not support unsigned values-
- everything is signed. So, when one defines Byte as follows
-
- Byte = 0..255
-
- there is no way this can be held in a signed value of a byte size- it takes at
- least 2 bytes (rounding up to the nearest byte, of course). Makes you wish for
- an Object Modula-2 compiler doesn't it?
-
- Geoff
-
-